package Vehicle1;

public class Bus extends Vehicle {
	private int count;

	public Bus(String brand ,int count){
		super(brand);
		this.count = count;
	}

	public int calRent(int days){
		if(count <= 16){
			return days * 800;
		}else{
			return days * 1500;
		}
	}
}
